﻿using System;
using System.Collections.Generic;

public class Scene
{
    public List<Primitive> objects;
    public List<Light> lights;
	public Scene()
	{
        objects = new List<Primitive>();
        lights = new List<Light>();
	}
    public int objectsNumber()
    {
        return this.objects.Count;
    }
    public int lightsNumber()
    {
        return this.lights.Count;
    }
    public int addObject(Primitive p)
    {
        objects.Add(p);
        return this.objects.Count;
    }
    public int addLight(Light l)
    {
        lights.Add(l);
        return this.lights.Count;
    }
}
